package com.superhero.common.repository;

import com.superhero.common.pojo.entity.UserHealthInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import java.util.Optional;


public interface UserHealthInfoRepository extends JpaRepository<UserHealthInfo, Integer>, JpaSpecificationExecutor<UserHealthInfo> {

    Optional<UserHealthInfo> findByUserId(Integer userId);
}
